<!--
 * @Descripttion: 导入日志
 * @version:
 * @Author: lehaixia
 * @Date: 2021-07-23 15:20:16
 * @LastEditors: lehaixia
 * @LastEditTime: 2021-07-23 17:43:37
-->
<template>
  <el-dialog
    title="导入错误信息"
    :visible.sync="dialogShow"
    :close-on-click-modal="false"
    :close-on-press-escape="false"
    width="1000px"
  >
    <table-box
      ref="refTable"
      table-size="mini"
      :table-config="tableConfig"
      :other-filters="otherFilters"
      :table-max-height="400"
    >
      <el-table-column slot="before" type="index" label="序号" width="55"></el-table-column>
    </table-box>
  </el-dialog>
</template>
<script>
export default {
  name: 'ImportLog',
  components: {},
  props: {
    visible: {
      type: Boolean,
      default: false,
      required: true
    },
    dataList: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  data() {
    return {
      otherFilters: [],
      tableConfig: {
        // interfacePath: `/call-center/api/v1/installTec/installTechnicianList`,
        tabIndex: 12,
        hideFuncBar: true,
        // pageSize: 20,
        // sort: '',
        // order: 'desc',
        setting: [{
          prop: 'officeId',
          minWidth: 110,
          label: '编码'
        }, {
          prop: 'officeName',
          minWidth: 200,
          label: '错误信息'
        }]
      }
    }
  },
  computed: {
    dialogShow: {
      get() {
        return this.visible
      },
      set(val) {
        this.$emit('update:visible', val)
      }
    }
  },
  // 方法集合
  methods: {

  }
}
</script>
<style lang='scss' scoped>
/* @import url(); 引入css类 */
</style>
